package com.etc.dao;

import java.util.List;

import com.etc.entity.Prescription;

public interface PrescriptionMapper {
    int deleteByPrimaryKey(Integer tcid);

    int insert(Prescription record);

    int insertSelective(Prescription record);

    Prescription selectByPrimaryKey(Integer tcid);

    int updateByPrimaryKeySelective(Prescription record);

    int updateByPrimaryKey(Prescription record);
    /**
     * 医生查看药方
     * @param patientSituationId
     * @return
     */
    List<Prescription> selPrescription(int patientSituationId);
}